#ifndef CODEITEM_H
#define CODEITEM_H

#include <QObject>

class CodeItem : public QObject
{
    Q_OBJECT
    Q_PROPERTY(QStringList textlist READ textlist WRITE setTextlist NOTIFY textlistChanged)
public:
    explicit CodeItem(QObject *parent = 0);

    Q_INVOKABLE void DealText(const QString text);

    QStringList textlist() const;
    void setTextlist(const QStringList &list);

signals:

public slots:

private:
    QStringList textList;
};

#endif // CODEITEM_H
